#pragma once

#if defined(_MSC_VER)
#ifdef XCOM_EXPORTS
#define XCOM_API __declspec(dllexport)
#else
#define XCOM_API __declspec(dllimport)
#endif
#elif defined(__GNUC__)
    #define XCOM_API  __attribute__((visibility("default")))
#else
    #define XCOM_API
#endif

#define XCOM_DEBUG 1
#define XCOM_INFO 2
#define XCOM_ERROR 3

#ifndef XCOM_LOG_LEVEL
#define XCOM_LOG_LEVEL XCOM_DEBUG
#endif